package com.school.manager.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.school.manager.domaim.SysUser;
import com.school.manager.entity.po.SysUserPo;
import com.school.manager.entity.vo.SysUserVo;

/**
 * description：系统用户业务接口
 * date：2021/10/133:18 下午
 */

public interface ISysUserService extends IService<SysUser> {
	
	/**
     * 系统用户分页查询
     *
     * @param sysUserPo
     * @return
     */
    Page<SysUserVo> page(SysUserPo sysUserPo);

    /**
     * 根据班级查询用户
     * @param sysUserPo
     * @return
     */
	Page<SysUserVo> pageByClass(SysUserPo sysUserPo);
	
	/**
     * 根据班级查询用户（不在该班级）
     * @param sysUserPo
     * @return
     */
	Page<SysUserVo> pageNoClass(SysUserPo sysUserPo);
    
}
